#ifndef UI_HISTO_MODIF_H
#define UI_HISTO_MODIF_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QRadioButton>
#include <QtGui/QComboBox>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QFormLayout>
#include <QtGui/QGraphicsView>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QWidget>
#include <Histogram/histogramme.h>

QT_BEGIN_NAMESPACE

class Ui_Modif
{
public:
    QDialogButtonBox *buttonBox;
    QWidget *formLayoutWidget;
    QFormLayout *formLayout;
    QComboBox *couleurComboBox;
    QLabel *couleurLabel;
    QGraphicsView *graphicsView;
    QGraphicsView *rectangleView;
    QVBoxLayout* verticalLayout;
    QButtonGroup* buttonGroup;
    QRadioButton* radioButtonEgaliser;
    QRadioButton* radioButtonEtaler;
    QRadioButton* radioButtonPersonnaliser;

    void setupUi(QDialog *DialogModif)
    {
        if (DialogModif->objectName().isEmpty())
            DialogModif->setObjectName(QString::fromUtf8("DialogModif"));



        verticalLayout = new QVBoxLayout(DialogModif);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));

        DialogModif->setLayout(verticalLayout);

        DialogModif->resize(500, 350);

        buttonBox = new QDialogButtonBox(DialogModif);
        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel | QDialogButtonBox::Ok);


        formLayoutWidget = new QWidget(DialogModif);
        formLayoutWidget->setObjectName(QString::fromUtf8("formLayoutWidget"));

        formLayout = new QFormLayout(formLayoutWidget);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
        formLayout->setContentsMargins(0, 0, 0, 0);

        couleurComboBox = new QComboBox(formLayoutWidget);
        couleurComboBox->setObjectName(QString::fromUtf8("couleurComboBox"));
        couleurComboBox->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);

        formLayout->setWidget(0, QFormLayout::FieldRole, couleurComboBox);

        couleurLabel = new QLabel(formLayoutWidget);
        couleurLabel->setObjectName(QString::fromUtf8("couleurLabel"));

        formLayout->setWidget(0, QFormLayout::LabelRole, couleurLabel);

        verticalLayout->addWidget(formLayoutWidget);

        graphicsView = new QGraphicsView(DialogModif);
        graphicsView->setObjectName(QString::fromUtf8("graphicsView"));

        verticalLayout->addWidget(graphicsView);

        rectangleView = new QGraphicsView(DialogModif);
        rectangleView->setObjectName(QString::fromUtf8("rectangleView"));
        rectangleView->setMinimumHeight(17);
        rectangleView->setMaximumHeight(17);
        verticalLayout->addWidget(rectangleView);


        buttonGroup = new QButtonGroup(DialogModif);

        radioButtonEgaliser = new QRadioButton(DialogModif);
        radioButtonEgaliser->setObjectName(QString::fromUtf8("radioButtonEgaliser"));
        radioButtonEgaliser->setText("Egaliser");
        radioButtonEtaler = new QRadioButton(DialogModif);
        radioButtonEtaler->setObjectName(QString::fromUtf8("radioButtonEtaler"));
        radioButtonEtaler->setText("Etaler");
        radioButtonPersonnaliser = new QRadioButton(DialogModif);
        radioButtonPersonnaliser->setObjectName(QString::fromUtf8("radioButtonPersonnaliser"));
        radioButtonPersonnaliser->setText("Personnaliser");

        buttonGroup->addButton(radioButtonEgaliser,1);
        buttonGroup->addButton(radioButtonEtaler,2);
        buttonGroup->addButton(radioButtonPersonnaliser,3);

        verticalLayout->addWidget(radioButtonEgaliser);
        verticalLayout->addWidget(radioButtonEtaler);
        verticalLayout->addWidget(radioButtonPersonnaliser);

        verticalLayout->addWidget(buttonBox);

        retranslateUi(DialogModif);
        QObject::connect(buttonBox, SIGNAL(accepted()), DialogModif, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), DialogModif, SLOT(reject()));


        QMetaObject::connectSlotsByName(DialogModif);


    } // setupUi

    void retranslateUi(QDialog *DialogModif)
    {
        DialogModif->setWindowTitle(QApplication::translate("DialogModif", "Modifier les histogrammes", 0, QApplication::UnicodeUTF8));
        couleurComboBox->clear();
        couleurComboBox->insertItems(0, QStringList()
         << QApplication::translate("DialogModif", "RGB", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("DialogModif", "Rouge", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("DialogModif", "Vert", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("DialogModif", "Bleu", 0, QApplication::UnicodeUTF8)
        );
        couleurLabel->setText(QApplication::translate("DialogModif", "Couleur", 0, QApplication::UnicodeUTF8));


       Q_UNUSED(DialogModif);
    } // retranslateUi

};

namespace Ui_HistoModif {
    class Modif: public Ui_Modif {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_HISTO_MODIF_H
